/* 
 * File:   CheckerboardTexture.h
 * Author: neuma173
 *
 * Created on May 3, 2011, 2:23 PM
 */

#include "Texture.h"

#ifndef _CHECKERBOARDTEXTURE_H
#define	_CHECKERBOARDTEXTURE_H

class CheckerboardTexture : public Texture {
public:
    CheckerboardTexture(double checkSize, Vector3D color1, Vector3D color2);
    CheckerboardTexture(const CheckerboardTexture& orig);
    virtual ~CheckerboardTexture();
    Vector3D GetColorAt(const Vector3D& point);
    Vector3D GetNormalOffsetAt(const Vector3D& point);
private:
    Vector3D Color1;
    Vector3D Color2;
    double checkSize;

    //should probably have dimension variables to
    //scale the checkers to the size of the
    //object's bounding box

};

#endif	/* _CHECKERBOARDTEXTURE_H */

